if (do_name() != 'Home') : ?>
Reference | autotext()
endif ?>
Syntax | autotext()
|
Description | Generates random text from an XML-document. Autotext is a very powerful feature once you learn how to use it. NodeBox has a built-in implementation of the Kant Generator Pro. XML-files for the Kant Generator have a specified structure. Further information can be found at http://diveintopython.org/xml_processing/ |
Returns | a string containing automatically generated text |
Tutorial | Strings
|
|
Example | | fontsize(9)
lineheight(0.8)
txt = autotext("kant.xml")
text(txt, 5, 10, width=110) |
|
| |
Download | kant.xml |
include("util/comment.php"); ?>